package cn.tedu.Animal;

public class Pigeon extends Bird implements fly{
    @Override
    void IayEggs() {
        System.out.println("鸽子的下蛋数为"+egg);
    }

    @Override
    public void fly1() {
        System.out.println("鸽子飞了");
    }
}
